/*
package com.hulagyms.service;

import android.app.Service;
import android.content.Intent;
import android.os.Bundle;
import android.os.IBinder;
import android.support.annotation.Nullable;

import org.greenrobot.eventbus.EventBus;

import java.util.Timer;
import java.util.TimerTask;

import weight.UiEvent;

*/
/**
 * ltx on 2017/1/9 16:47
 * 倒计时
 *//*

public class TimeService  extends Service {
    private String TAG = "TimeService";
    private Timer timer = null;
    private Intent timeIntent = null;
    private Bundle bundle = null;
    @Override
    public void onCreate() {
        super.onCreate();
        init();
        //定时器发送广播
        timer.schedule(new TimerTask() {
            @Override
            public void run() {
                //发送广播
                EventBus.getDefault().post(new UiEvent("test",null));
            }
        }, 1000,1000);
    }

    @Nullable
    @Override
    public IBinder onBind(Intent intent) {
        return null;
    }
    */
/**
     * 相关变量初始化
     *//*

    private void init(){
        timer = new Timer(true);
        timeIntent = new Intent();
    }
    @Override
    public void onDestroy() {
        super.onDestroy();
    }
}
*/
